<?php
require_once '../requires.php';

$cfg = array(
	'url' => 'http://www.example.com/framework/WebService/Server/example/server.php',
	'key' => '12345678',
	'version' => '0.0.0',
	'assoc' => true,
);
# we can define subclass extends WebServiceClient
$client = new WebServiceClient($cfg);

$function_name = 'callName';
$parameters = array('tom.wa\'\ng');
$files = array();
$options = array();

$data = $client->invoke($function_name, $parameters, $files, $options);
var_dump($data);
?>